<?php
class Classes{
	public function getClass($id){
		$DB = new DB();
		$sql = "SELECT * FROM class where grade_id = '$id'";
		return $DB->fetchAll($sql);
	}
}
?>